<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/25
 * Time: 23:50
 */

namespace app\common\model;


class Bis extends Base
{
    /*
     * 获取商家休息，查询status
     */
    public function getBisByStatus($status)
    {
        $data=[
            'status' => $status
        ];
        $order=[
            'id' => 'desc'
        ];

        $result=$this->where($data)->order($order)->paginate();
        return $result;
    }

}